package cn.dada.dadarecipes.community.favorites.service;

import cn.dada.dadarecipes.community.favorites.pojo.dto.FavoritesRemoveParam;
import cn.dada.dadarecipes.community.favorites.pojo.dto.FavoritesSaveParam;
import cn.dada.dadarecipes.community.favorites.pojo.vo.FavoritesVO;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface FavoritesService {
    List<FavoritesVO> selectFavorites(Long userId, HttpSession session);

    void saveFavorites(FavoritesSaveParam favoritesSaveParam, HttpSession session);

    void removeFavorites(FavoritesRemoveParam favoritesRemoveParam, HttpSession session);
}
